﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="EditProfile.aspx.vb" Inherits="HauntedNetworkingSite.EditProfile" %>

<%@ Register src="Banner.ascx" tagname="Banner" tagprefix="uc1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Edit Profile</title>
    <style type="text/css">
        .style1
        {
            width: 80%;
            border-style: solid;
            border-width: 2px;
        }
        .style2
        {
            width: 200px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:Banner ID="Banner1" runat="server" />
    <div>
    
    </div>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p align="center">
        <asp:Label ID="EditProfleLabel" runat="server" CssClass="titleclass" 
            Text="Edit Your Profile" Width="80%" align="centre" Font-Size="1.5em" 
            Height="50px"></asp:Label>
    </p>
    <table align="center" class="style1">
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="FirstNameLabel" runat="server" Text="First Name: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_FirstName" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="FirstNameRequired" runat="server" 
                ControlToValidate="tb_FirstName" ErrorMessage="First Name is required." 
                ToolTip="First Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="LastNameLabel" runat="server" Text="Last Name: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_LastName" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="LastNameRequired" runat="server" 
                ControlToValidate="tb_LastName" ErrorMessage="Last Name is required." 
                ToolTip="Last Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="EmailLabel" runat="server" Text="E-mail: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_Email" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                ControlToValidate="tb_Email" ErrorMessage="E-mail is required." 
                ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="GenderLabel" runat="server" Text="Gender: "></asp:Label>
            </td>
            <td>
                <asp:RadioButtonList ID="RadioButtonList_Gender" runat="server" 
                    AppendDataBoundItems="True" RepeatDirection="Horizontal" RepeatLayout="Flow" 
                    Width="200px">
                    <asp:ListItem>Male</asp:ListItem>
                    <asp:ListItem>Female</asp:ListItem>
                </asp:RadioButtonList>
                <asp:RequiredFieldValidator ID="GenderRequired" runat="server" 
                ControlToValidate="RadioButtonList_Gender" ErrorMessage="Please enter your gender." 
                ToolTip="Gender is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="BirthdateLabel" runat="server" Text="Birthdate: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_Birthdate" runat="server" Width="200px"></asp:TextBox>
                <asp:Image ID="CalendarImage" runat="server" Height="22px" Width="31px" 
                    ImageUrl="~/Images/calendarimage.png" />
                <asp:CalendarExtender Id="CalendarExtender1" runat="server" PopupButtonID="CalendarImage"
                TargetControlID="tb_Birthdate"></asp:CalendarExtender>
                <asp:RequiredFieldValidator ID="BirthdateRequired" runat="server" 
                ControlToValidate="tb_Birthdate" ErrorMessage="Please enter your Birthdate." 
                ToolTip="Birthdate is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="CityLabel" runat="server" Text="City: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_City" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="CityRequired" runat="server" 
                ControlToValidate="tb_City" ErrorMessage="Please enter the city you live in." 
                ToolTip="City is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="CountryLabel" runat="server" Text="Country: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_Country" runat="server" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="CountryRequired" runat="server" 
                ControlToValidate="tb_Country" ErrorMessage="Please enter the country you live in." 
                ToolTip="Country is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr align="right">
            <td class="style2">
                <asp:Label ID="AboutMeLabel" runat="server" Text="About Me: "></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="tb_AboutMe" runat="server" Height="100px" Width="240px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="AboutMeRequired" runat="server" 
                ControlToValidate="tb_AboutMe" ErrorMessage="Please enter some information about yourself." 
                ToolTip="Please enter some information about yourself." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="InterestsLabel" runat="server" Text="My Interests: "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="tb_Interests" runat="server" Height="100px" Width="240px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="InterestsRequired" runat="server" 
                ControlToValidate="tb_Interests" ErrorMessage="Please enter atleast one thing that interests you." 
                ToolTip="What are your interests?" ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                <asp:Label ID="ProfileImageLabel" runat="server" Text="Upload Profile Image: "></asp:Label>
            </td>
            <td>
                <asp:FileUpload ID="FileUpload_ProfileImage" runat="server" 
                    CssClass="buttonClass" />
                    
            </td>
        </tr>
        <tr>
            <td align="right" class="style2">
                &nbsp;</td>
            <td>
                <asp:Button ID="btn_UpdateProfile" runat="server" CssClass="buttonClass" 
                    Text="Update Profile" />
            </td>
        </tr>
    </table>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    </form>
</body>
</html>
